/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import defaultPackage.Vector2;
import java.util.List;
import jplay.Sprite;

/**
 *
 * @author Marcel
 */
public class SpaceshipView {

    private Sprite texture;
    private List<Sprite> shot;
    private Sprite collider;

    public SpaceshipView(String texture, Vector2 position) {
        this.texture = new Sprite(texture);
        this.texture.x = position.getX();
        this.texture.y = position.getY();
    }

    public Sprite getCollider() {
        return collider;
    }

    public void setCollider(Sprite collider) {
        this.collider = collider;
    }

    public Sprite getTexture() {
        return texture;
    }

    public void setTexture(Sprite texture) {
        this.texture = texture;
    }

    public List<Sprite> getShot() {
        return shot;
    }

    public void setShot(List<Sprite> shot) {
        this.shot = shot;
    }
}
